package com.jinzhi.jzweb.domain.modelConfig;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 
 * <pre>
 * 申报主体信息表
 * </pre>
 * <small> 2024-01-10 09:37:33 | lance</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("`declare`")
//这是的这里继承的基础服务类，有几个基本字段
public class DeclareDO extends PageInfo implements Serializable {
	@TableId
	private Long id;

    @ApiModelProperty(value = "单位/学校/id")
    @TableField("org_id")
    private Long orgId;

    @ApiModelProperty(value = "单位名称（冗余字段）")
    @TableField("org_name")
    private String orgName;

    @ApiModelProperty(value = "申报材料id(申报材料表)")
    @TableField("declare_ready_id")
    private String declareReadyId;

    @ApiModelProperty(value = "联系人")
    @TableField("contacts")
    private String contacts;

    @ApiModelProperty(value = "联系方式")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "职称")
    @TableField("position")
    private String position;

    @ApiModelProperty(value = "职位")
    @TableField("place")
    private String place;

    @ApiModelProperty(value = "省")
    @TableField("province")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "创建人id")
    @TableField("creater_id")
    private Long createrId;

    @ApiModelProperty(value = "修改人id")
    @TableField("updater_id")
    private Long updaterId;

    @ApiModelProperty(value = "创建时间")
    @TableField("creater_date")
    private Date createrDate;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private Date updateDate;

    @ApiModelProperty(value = "状态默认为0 = 未审核，1 = 审核通过 2 = 审核拒绝 ")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除，默认为0")
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "申报类型集合")
    @TableField(exist = false)
    private List<DeclareTypeDO> declareTypeDOS;

    @ApiModelProperty(value = "审核拒绝说明")
    @TableField("remark")
    private String remark;

    /**
     * 需要导出压缩包的主键id集合
     */
    @TableField(exist = false)
    private List<String> idList;

    /**
     * 冗余字段，申报主体id
     */
    @TableField(exist = false)
    private long declareId;


    @TableField(exist = false)
    private Integer type;
}
